﻿// MvcRouteUnitTester
// by Lee Dumond 
// twitter.com/LeeDumond

namespace MvcRouteUnitTester
{
   using System;
   using System.Runtime.Serialization;

   /// <summary>
   /// A custom exception used to make it possible to catch only assertion-related exceptions without being tied to any unit testing framework's version of an AssertionException (e.g., NUnit.Framework.AssertionException).
   /// </summary>
   [Serializable]
   public class AssertionException : Exception
   {
      internal AssertionException(string message) : base(message)
      {
      }

      protected AssertionException(SerializationInfo info, StreamingContext context) : base(info, context)
      {
      }
   }
}